package team.cdlzz.dao;

import org.apache.ibatis.annotations.Mapper;
import team.cdlzz.model.pojo.CourseDetail;

import java.util.List;

@Mapper
public interface CourseDetailMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(CourseDetail record);

    int insertSelective(CourseDetail record);

    CourseDetail selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(CourseDetail record);

    int updateByPrimaryKey(CourseDetail record);

    List<CourseDetail> selectLikeName(String like);
}